<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: HaRiA
  Date: 25.08.2014
  Time: 10:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Themed requests</title>
</head>
<body>


<br/><br/>
<table border="1" cellpadding="10" cellspacing="0">
    <tr>
        <th>Name</th>
        <th>Owner</th>
        <th>Field</th>
        <th>State</th>

    </tr>



    <c:forEach items="${projects}" var="project">


        <tr>
            <td><a href = "/projects/project/${project.projectId}">${project.name}</a></td>
            <td><a href="users/profile/${project.user.userId}">${project.user.userName}</a></td>
            <td>${project.field.fieldName}</td>
            <td>${project.state}</td>

        </tr>
    </c:forEach>
    </table>

<br/><a href="/${prev_page}">Back</a>
</body>
</html>
